home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
A-COMAL Series
/
(k)aab.d64
/
pop.skeleton
< prev
next >
Wrap
Text File
|
2007-02-28
|
3KB
|
90 lines
0170 ╨╥╧├ POPOVER ├╠╧╙┼─
0180 //COPYRIGHT 1986 LEN LINDSAY
0190 // ORIGINAL BY LEN LINDSAY
0200 // REVISION BY
0210 ╔╬╘┼╥╥╒╨╘ //INTERRUPT OFF WHILE DOING INTERRUPT NOW
0220 ╒╙┼ GRAPHICS
0230 TEXTMODE:=INQ(13)
0240 GRAPHMODE:=INQ(7) //2=MULTI
0250 ╔╞ GRAPHMODE<2 ╘╚┼╬ GRAPHMODE:=1-INQ(14) //0=SPLIT//1=FULL HIRES
0260 ╘╥┴╨ ┼╙├-
0270 SETUP
0280 ╒╙┼ SYSTEM
0290 ─╔═ START'SCREEN$ ╧╞ 1505
0300 GETSCREEN(START'SCREEN$)
0310 ╔╞ ╬╧╘ TEXTMODE ╘╚┼╬ TEXTSCREEN
0320 CLEAR'KEYS
0330 POPUP
0340 SETSCREEN(START'SCREEN$)
0350 ╔╞ TEXTMODE ╘╚┼╬
0360 TEXTSCREEN
0370 ┼╠╙┼
0380 ╔╞ GRAPHMODE ╘╚┼╬
0390 FULLSCREEN
0400 ┼╠╙┼
0410 SPLITSCREEN
0420 ┼╬─╔╞
0430 ┼╬─╔╞
0440 CLEAR'KEYS // OPTIONAL LINE
0450 ╔╬╘┼╥╥╒╨╘ POPOVER
0460 //
0470 ╨╥╧├ POPUP
0480 COL:=╥╬─(3,15) // <<<===START COL
0490 CURRENT'ROW:=╥╬─(2,12) // <<<=== START ROW
0500 // ROW IS A FUNCTION THAT STARTS AT CURRENT'ROW
0510 // USE SHIFT * TO DRAW MENU LINE
0520 ╨╥╔╬╘ ┴╘ ROW,COL: ""18"░└└└└└└└└└└└└└└└«"
0530 ╨╥╔╬╘ ┴╘ ROW,COL: ""18" POPOVER MENU "
0540 ╨╥╔╬╘ ┴╘ ROW,COL: ""18"½└└└└└└└└└└└└└└└│"
0550 ╨╥╔╬╘ ┴╘ ROW,COL: ""18" = "
0560 ╨╥╔╬╘ ┴╘ ROW,COL: ""18" = "
0570 ╨╥╔╬╘ ┴╘ ROW,COL: ""18"½└└└└└└└└└└└└└└└│"
0580 ╨╥╔╬╘ ┴╘ ROW,COL: ""18" Q = QUIT "
0590 ╨╥╔╬╘ ┴╘ ROW,COL: ""18"½└└└└└└└└└└└└└└└│"
0600 ╨╥╔╬╘ ┴╘ ROW,COL: ""18" OR <RETURN> KEY "
0610 ╨╥╔╬╘ ┴╘ ROW,COL: ""18"¡└└└└└└└└└└└└└└└╜"
0620 ╥┼╨┼┴╘
0630 DONE'POPPING:=╘╥╒┼
0640 ├┴╙┼ ╦┼┘$ ╧╞
0650 ╫╚┼╬ "Q","╤"
0660 ╘╥┴╨ ┼╙├+
0670 ┼╬─ ""147"╘HANK ┘OU."
0680 ╫╚┼╬ ""13"" //CARRIAGE RETURN
0690 ╥┼╘╒╥╬
0700 ╧╘╚┼╥╫╔╙┼
0710 DONE'POPPING:=╞┴╠╙┼
0720 ┼╬─├┴╙┼
0730 ╒╬╘╔╠ DONE'POPPING
0740 ┼╬─╨╥╧├ POPUP
0750 //
0760 ╨╥╧├ READY
0770 ╔╬╨╒╘ ┴╘ 25,1,0: ""18"╨RESS ╥┼╘╒╥╬ WHEN READY": POPREADY$
0780 ╨┴╟┼
0790 ┼╬─╨╥╧├ READY
0800 //
0810 ╞╒╬├ ROW
0820 CURRENT'ROW:+1
0830 ╥┼╘╒╥╬ CURRENT'ROW
0840 ┼╬─╞╒╬├ ROW
0850 //
0860 ╨╥╧├ CLEAR'KEYS
0870 ╫╚╔╠┼ ╦┼┘$>"" ─╧ ╬╒╠╠
0880 DUMMYESC:=┼╙├ //CLEAR STOP KEY
0890 ┼╬─╨╥╧├ CLEAR'KEYS
0900 //
0910 ╨╥╧├ SETUP ├╠╧╙┼─
0920 // SETUP BY JESSE KNIGHT
0930 ╘╥┴╨ ┼╙├-
0940 ╞╧╥ X#:=0 ╘╧ 12 ─╧
0950 ╥┼┴─ BYTE#
0960 ╨╧╦┼ $C86A+X#,BYTE#
0970 ┼╬─╞╧╥ X#
0980 ╨╧╦┼ $C7E2,$6A
0990 ╨╧╦┼ $C7E3,$C8
1000 ╨╧╦┼ $4D,╨┼┼╦($4D) ┬╔╘╧╥ $20
1010 ─┴╘┴ $A5,$4D,$29,$08,$F0,$06,$A9
1020 ─┴╘┴ $04,$05,$4D,$85,$4D,$60
1030 ┼╬─╨╥╧├ SETUP
1040 //
1050 ┼╬─╨╥╧├ POPOVER